package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.place;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class PlaceProfitUserListResponse extends SecurityResponse<PlaceProfitUserListResponse.Body> {

    private static final long serialVersionUID = 1L;

	public PlaceProfitUserListResponse() {
        this.body = new Body();
    }

    public PlaceProfitUserListResponse(Integer code) {
        super(code);
        this.body = new Body();
    }

    public PlaceProfitUserListResponse(Integer code, String msg) {
        super(code, msg);
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;
        
		public List<UserItem> userItems;

        public List<UserItem> getUserItems() {
            return userItems;
        }

        public void setUserItems(List<UserItem> userItems) {
            this.userItems = userItems;
        }
    }

    public static class UserItem implements Serializable {

        private static final long serialVersionUID = 1L;
        
		private Long userId;
        private String userName;
        private String userPhone;
        private Integer roleType;
        private String roleTypeName;
        private String note;
        private Date createDate;

        private List<IncomeRatioItem> incomeRatioItems;

        public Long getUserId() {
            return userId;
        }

        public void setUserId(Long userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserPhone() {
            return userPhone;
        }

        public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
        }

        public Integer getRoleType() {
            return roleType;
        }

        public void setRoleType(Integer roleType) {
            this.roleType = roleType;
        }

        public String getRoleTypeName() {
            return roleTypeName;
        }

        public void setRoleTypeName(String roleTypeName) {
            this.roleTypeName = roleTypeName;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }

        public Date getCreateDate() {
            return createDate;
        }

        public void setCreateDate(Date createDate) {
            this.createDate = createDate;
        }

        public List<IncomeRatioItem> getIncomeRatioItems() {
            return incomeRatioItems;
        }

        public void setIncomeRatioItems(List<IncomeRatioItem> incomeRatioItems) {
            this.incomeRatioItems = incomeRatioItems;
        }
    }

    public static class IncomeRatioItem implements Serializable {

        private static final long serialVersionUID = 1L;
        
		private String businessType;
        private String businessTypeName;
        private Double incomeRatio;

        public String getBusinessType() {
            return businessType;
        }

        public void setBusinessType(String businessType) {
            this.businessType = businessType;
        }

        public String getBusinessTypeName() {
            return businessTypeName;
        }

        public void setBusinessTypeName(String businessTypeName) {
            this.businessTypeName = businessTypeName;
        }

        public Double getIncomeRatio() {
            return incomeRatio;
        }

        public void setIncomeRatio(Double incomeRatio) {
            this.incomeRatio = incomeRatio;
        }
    }
}

